//
//  WeViewController.m
//  ThePrivateKitchen
//
//  Created by lirui on 16/2/26.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "WeViewController.h"

@interface WeViewController ()

@property(nonatomic, retain)UIImageView *bottomView;
@end

@implementation WeViewController

- (void)dealloc
{
    [_bottomView release];
    [super dealloc];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [ UIColor whiteColor];
    
     self.navigationController.navigationBar.translucent= NO;
    
    self.navigationItem.title = @"关于我们";
    //重写左按钮
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:[[UIImage imageNamed:@"left@3x"]imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] style:UIBarButtonItemStylePlain target:self action:@selector(leftAction:)];



    self.bottomView = [[ UIImageView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    _bottomView.image = [ UIImage imageNamed:@"背景4.jpeg"];
    [self.view addSubview:_bottomView];
    [_bottomView release];
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, WIDTH * 375, HEIGHT*300)];
    //    label.backgroundColor = [UIColor whiteColor];
    label.textAlignment = NSTextAlignmentCenter;
    label.font = [UIFont systemFontOfSize:16];
    label.textColor = [UIColor darkGrayColor];
    label.numberOfLines = 0;
    label.text = @"\n\n\n  声明\n \n  本软件不涉及任何商业用途 \n\n   仅供浏览,学习,交流使用\n\n \n\n";
    
    [self.view addSubview:label];
    [label release];
}


-(void)leftAction:(UINavigationItem *)le
{
    [self.navigationController popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
